from pattern.circuit import Control


class entry(Control):

    def realize(self, event):
        self.title = "Worker"
        
    def incoming(self, event):
        print self.title, event.data
        bridge = self.acquireInterface(event, "bottom:50%")
        if bridge is not None:
            bridge.push(*(("next:",) + event.data))
     